<!doctype html>
<html class="no-js" lang="">

<head>
    <meta charset="utf-8">
    <meta name="description" content="">

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>室内定位管理后台</title>
    <link rel="apple-touch-icon" href="apple-touch-icon.png">
    <!-- Place favicon.ico in the root directory -->
    <!-- build:css styles/vendor.css -->
    <link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.min.css" type="text/css" />
    <link rel="stylesheet" href="styles/style.css" type="text/css" />
    <!-- endbuild -->
    <!-- build:css scripts/Cesium/Widgets/widgets.css -->
    <link rel="stylesheet" href="libs/Cesium/Widgets/widgets.css" type="text/css">
    <!-- endbuild -->
    <!-- build:css scripts/mars3d/mars3d.css -->
    <link rel="stylesheet" href="libs/mars3d/mars3d.css" type="text/css">
    <!-- endbuild -->
    <!-- build:css scripts/leaflet/leaflet.css -->
    <link rel="stylesheet" href="libs/leaflet/leaflet.css" type="text/css">
    <!-- endbuild -->
    <!-- build:css styles/main.css -->
    <link rel="stylesheet" href="styles/main.css" type="text/css">
    <!-- endbuild -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.0/font/bootstrap-icons.css">
    <!-- build:js scripts/modernizr.js -->
    <script src="scripts/modernizr.js"></script>
    <!-- endbuild -->
    <style>
        #map{
            width: 100%;
            height: 300px;
        }
    </style>
</head>

<body>
    <div id="modal_test" class="modal fade" tabindex="-1">
        <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">测试</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div id="map"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
    <!-- build:js scripts/vendor.js -->
    <script type="text/javascript" src="/node_modules/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/Cesium/Cesium.js -->
    <script src="libs/Cesium/Cesium.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/turf.js -->
    <script type="text/javascript" src="/node_modules/@turf/turf/turf.min.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/mars3d/mars3d.js -->
    <script src="libs/mars3d/mars3d.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/leaflet/leaflet.js -->
    <script src="libs/leaflet/leaflet.js"></script>
    <script src="libs/leaflet/leaflet.ChineseTmsProviders.js"></script>
    <!-- endbuild -->
    <!-- build:js scripts/main.js -->
    <script src="scripts/config.js"></script>
    <script src="scripts/utils.js"></script>
    <script src="scripts/dashboard/globe.js"></script>
    <script src="scripts/data/project.js"></script>
    <script src="scripts/main.js"></script>
    <!-- endbuild -->
    <script>
        $('#modal_test').modal('show');
        setTimeout(() => {
            var map = L.map('map').setView([30.60, 114.30], 13);
            const tdtOption = {
                key: '304bc664f193742e0ad7ad3b77d5dccd'
            }
            L.tileLayer.chinaProvider('TianDiTu.Normal.Map',tdtOption).addTo(map);
            L.tileLayer.chinaProvider('TianDiTu.Normal.Annotion',tdtOption).addTo(map);
        }, 1000);
        
    </script>
</body>

</html>